package Syntaxe;


public class Variable {
	final String nom;
	Fraction valeur;
	Fraction coefficient;
	
	//constructor
	public Variable(String s){
		nom = s;
		valeur = new Fraction(0);
	}
	public Variable(String s, Fraction v){
		nom = s; 
		valeur = v;
	}
	
	public void setC(Fraction c){
		coefficient=c;
	}
	
	public Variable getVariable(String nom){
		return this;
	}
}